package com.itheima.sh.mapper;

import com.itheima.sh.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface UserMapper {

     List<User> findAll();

     void addUser(@Param("user") User user);

     void updateUser(@Param("username") String username,@Param("id") Long id);

     void deleteUser(@Param("id") Long id);

     List<User> selectPage();
}
